﻿using System;
using Magicodes.ExporterAndImporter.Core;

namespace NP.BPMReportPlatform.FrameOrder.Dto
{
    /// <summary>
    /// 获取框架订单推送记录出参
    /// </summary>
    public class GetFraneOrderPushRecordOutput
    {
        /// <summary>
        /// 主键，但是不需要导出
        /// </summary>
        [IEIgnore(IsExportIgnore = true, IsImportIgnore = true)]
        public string Id { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        [ExporterHeader("单据号")]
        public string InstanceNumber { get; set; }


        /// <summary>
        /// 工号
        /// </summary>
        [ExporterHeader("工号")]
        public string EmployeeNumber { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        [ExporterHeader("姓名")]
        public string EmployeeName { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        [ExporterHeader("类型")]
        public string Allowance_Type { get; set; }



        /// <summary>
        /// 年
        /// </summary>
        [ExporterHeader("年")]
        public string Year { get; set; }

        /// <summary>
        /// 月
        /// </summary>
        [ExporterHeader("月")]
        public string Month { get; set; }

        /// <summary>
        /// 每月补贴
        /// </summary>
        [ExporterHeader("金额")]
        public decimal? Allowance_Lines { get; set; }


        /// <summary>
        /// 制单日期
        /// </summary>
        [ExporterHeader("申请时间")]
        public string ProcessStartTime { get; set; }

        /// <summary>
        /// 开始日期
        /// </summary>
        [ExporterHeader("补贴开始时间")]
        public string StartDate { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        [ExporterHeader("补贴结束时间")]
        public string EndDate { get; set; }


        /// <summary>
        /// 审批通过日期
        /// </summary>
        [ExporterHeader("审批日期")]
        public string ApproveDate { get; set; }

        /// <summary>
        /// 流程状态
        /// </summary>
        [ExporterHeader("审批状态")]
        public string InstanceType { get; set; }

        /// <summary>
        /// hrbp审批人
        /// </summary>
        [ExporterHeader("HRBP")]
        public string HRBPApprove { get; set; }

        /// <summary>
        /// 推送日期
        /// </summary>
        [ExporterHeader("推送日期")]
        public DateTime? PushTime { get; set; }

        /// <summary>
        /// 推送状态（未推送：0 推送成功：1推送失败：2）
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string BusinessType { get; set; }

        /// <summary>
        /// 推送状态（未推送：0 推送成功：1推送失败：2）
        /// </summary>
        [ExporterHeader("推送状态")]
        public string BusinessTypeName { get; set; }

        /// <summary>
        /// 推送失败说明
        /// </summary>
        [ExporterHeader("推送失败说明")]
        public string Remarks { get; set; }

        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }
    }

    /// <summary>
    /// 获取框架订单拉取记录出参
    /// </summary>
    public class GetFrameOrderPullingRecordOutput
    {
        /// <summary>
        /// 主键，但是不需要导出
        /// </summary>
        [IEIgnore(IsExportIgnore = true, IsImportIgnore = true)]
        public string Id { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        [ExporterHeader("单据号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        [ExporterHeader("工号")]
        public string EmployeeNumber { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        [ExporterHeader("姓名")]
        public string EmployeeName { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        [ExporterHeader("类型")]
        public string Allowance_Type { get; set; }

        /// <summary>
        /// 年
        /// </summary>
        [ExporterHeader("年")]
        public string Year { get; set; }

        /// <summary>
        /// 月
        /// </summary>
        [ExporterHeader("月")]
        public string Month { get; set; }

        /// <summary>
        /// 每月补贴
        /// </summary>
        [ExporterHeader("金额")]
        public decimal? Allowance_Lines { get; set; }

        /// <summary>
        /// 开始日期
        /// </summary>
        [ExporterHeader("补贴开始时间")]
        public string StartDate { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        [ExporterHeader("补贴结束时间")]
        public string EndDate { get; set; }

        /// <summary>
        /// 审批通过日期
        /// </summary>
        [ExporterHeader("审批通过日期")]
        public string UpdateDate { get; set; }

        /// <summary>
        /// 同步日期
        /// </summary>
        [ExporterHeader("同步日期")]
        public DateTime? LasterSyncDate { get; set; }

        /// <summary>
        /// 数据是否作废
        /// </summary>
        [ExporterHeader("数据是否作废")]
        public string IsOldData { get; set; }

        /// <summary>
        /// 地址
        /// </summary>

        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }
    }
}
